package com.sigmatrix.h5.entity.v2;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.sigmatrix.h5.entity.base.SuperEntity;


@TableName(value="_admin_area")
public class AdminArea extends SuperEntity<AdminArea> {
	
	private static final long serialVersionUID = 7296494247415462698L;
	
	@TableField("_name")
	private String name;
	
	@TableField("_type")
	private Short type;
	
	@TableField("_parent")
	private Integer parent;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Short getType() {
		return type;
	}

	public void setType(Short type) {
		this.type = type;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

	@Override
	public String toString() {
		return "AdminArea [name=" + name + ", type=" + type + ", parent=" + parent + ", getId()=" + getId() + "]";
	}
	
	
}
